{$CLEO .cs}


model.Load(#BALLAS1)
model.Load(#BALLAS2)
model.Load(#BALLAS3)
model.Load(#AT_BALLAS10)
model.Load(#AT_BALLAS9)
model.Load(#SA_BALLAS9)
model.Load(#SA_BALLAS8)
model.Load(#SA_BALLAS6)
model.Load(#SA_BALLAS7)
model.Load(#SA_BALLAS5)
model.Load(#AT_BALLAS11)
model.Load(#AK47)


model.Load(#LCS_PYTHON)
model.Load(#LCS_CHROMEGUN)
model.Load(#LCS_UZI)
model.Load(#LC_AK47)
model.Load(#LCS_BUDDYSHOT)
model.Load(#VC_INGRAM)
model.Load(#LCS_PYTHON)
model.Load(#LCS_CHROMEGUN)
model.Load(#LCS_UZI)
model.Load(#LC_AK47)
model.Load(#LCS_BUDDYSHOT)
model.Load(#VC_RUGER)
model.Load(#VC_INGRAM)
model.Load(#LC_M16)
model.Load(#VCS_SKORPION)
model.Load(#LCS_SHOTGSPA)

 
038B: load_requested_models
10@ = object.Create(#AK47, 9485.8896, 8114.4131, 14.9362)
0382: set_object 10@ collision_detection 0
0750: set_object 10@ visibility 0
20@ = audiostream.Load3D("cleo\addons\AAAA.mp3")

audiostream.LinkToObject(20@, 10@)
audiostream.PerformAction(20@,resume)
audiostream.Loop(20@, 1)
const
LCS_PYTHON =  191
LCS_LASER = 181
LCS_CHROMEGUN =  207
LCS_4k47 =  197
LCS_BUDDYSHOT = 166
VC_INGRAM = 133
LCS_SPAS12 = 193
LCS_UZI = 196
LCS_BASEBALLBAT = 164
LCS_CHAINSAW    = 170
LCS_MINIGUN = 186
LCS_M60 = 184
LCS_M21 = 183
LC_AK47 = 111  
VC_RUGER = 147 
LC_M16 = 117
LCS_KATANA =  179
VCS_M249 = 221
VCS_SKORPION  = 225
end 


while true 
wait 0 
 if
856D:  not    actor 0@ defined

then
009A: 0@ = create_actor_pedtype 8 model #SA_BALLAS5 at 7716.1309 -8794.1719 1007.0287
actor.Angle(0@ ) =  5.8755
actor.Health(0@) = 500
actor.GiveWeaponAndAmmo(0@,VC_INGRAM   ,99999)
end


 if
856D:  not    actor 1@ defined

then
009A: 1@ = create_actor_pedtype 8 model #BALLAS2 at  7717.4053 -8773.2314 1007.0287
actor.Angle(1@ ) =  8.8388
actor.Health(1@) = 500
actor.GiveWeaponAndAmmo(1@,LC_AK47   ,99999)
end

 if
856D:  not    actor 2@ defined

then
009A: 2@ = create_actor_pedtype 8 model #AT_BALLAS11 at  7710.0547 -8792.9365 1007.0287
actor.Angle(2@ )  =  316.4447
actor.Health(2@) = 500
actor.GiveWeaponAndAmmo(2@,LCS_PYTHON   ,99999)
end


 if
856D:  not    actor 3@ defined

then


009A: 3@ = create_actor_pedtype 8 model #SA_BALLAS7 at  7708.7061 -8793.4326 1014.2266
actor.Angle(3@ ) =  223.0667
actor.Health(3@) = 500
actor.GiveWeaponAndAmmo(3@,LCS_BUDDYSHOT   ,99999)
end

 if
856D:  not    actor 4@ defined

then

009A: 4@ = create_actor_pedtype 8 model #BALLAS2 at  7705.6123 -8772.8867 1014.2266
actor.Angle(4@ ) =  258.6368
actor.Health(4@) = 500
actor.GiveWeaponAndAmmo(4@,LC_AK47   ,99999)
end 

if
856D:  not    actor 5@ defined
 
then

009A: 5@ = create_actor_pedtype 8 model #AT_BALLAS10 at 7729.2637 -8779.9746 1014.2266
actor.Angle(5@ ) = 80.2622
actor.Health(5@) = 500
actor.GiveWeaponAndAmmo(5@,LCS_UZI   ,99999)
end

if
00FE:    actor $PLAYER_ACTOR sphere 0 in_sphere  7729.2637 -8779.9746 1014.2266 radius 151.0 151.0 151.0
then
   audiostream.PerformAction(20@,resume) 
    if
     056D:     actor 0@ defined 
     then
        if
        actor.Dead(0@)
        then
         actor.RemoveReferences(0@)
        end 
     end 
    
    if
     056D:     actor 1@ defined 
     then
        if
        actor.Dead(1@)
        then
         actor.RemoveReferences(1@)
        end 
     end 
     
    if
     056D:     actor 2@ defined 
     then
        if
        actor.Dead(2@)
        then
         actor.RemoveReferences(2@)
        end 
     end 
     
    if
     056D:     actor 3@ defined 
     then
        if
        actor.Dead(3@)
        then
         actor.RemoveReferences(3@)
        end 
     end 
     
    if
     056D:     actor 4@ defined 
     then
        if
        actor.Dead(4@)
        then
         actor.RemoveReferences(4@)
        end 
     end 
     
    if
     056D:     actor 5@ defined 
     then
        if
        actor.Dead(5@)
        then
         actor.RemoveReferences(5@)
        end 
     end 
end  
 
         if or
         80FE:  not   actor $PLAYER_ACTOR sphere 0 in_sphere 7729.2637 -8779.9746 1014.2266 radius 161.0 161.0 161.0
         $onmission == 0 
         //80FE: not   actor $PLAYER_ACTOR sphere 0 in_sphere 7720.4850 -8778.2680 1014.2270  radius 151.0 151.0 151.0
        
         then  
            audiostream.PerformAction(20@,pause)   
            if
             056D:     actor 0@ defined     
            then
                   actor.RemoveReferences(0@)
          
            end
            if
             056D:     actor 1@ defined     
            then
                   actor.RemoveReferences(1@)
          
            end
            if
             056D:     actor 2@ defined     
            then
                   actor.RemoveReferences(2@)
          
            end
            if
             056D:     actor 3@ defined     
            then
                   actor.RemoveReferences(3@)
          
            end
            if
             056D:     actor 4@ defined     
            then
                   actor.RemoveReferences(4@)
          
            end
            if
             056D:     actor 5@ defined     
            then
                   actor.RemoveReferences(5@)
          
            end
            
            if
             $onmission == 0 
             then
             
             goto @end 
            break
            end
         end 
end 
:END
object.Destroy(10@)
audiostream.Release(20@)
END_THREAD